package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class ExpertActivityRecord implements Serializable {
    private String exarno;

    private String edno;

    private String eno;

    private Date exardate;

    private static final long serialVersionUID = 1L;

    public String getExarno() {
        return exarno;
    }

    public void setExarno(String exarno) {
        this.exarno = exarno;
    }

    public String getEdno() {
        return edno;
    }

    public void setEdno(String edno) {
        this.edno = edno;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public Date getExardate() {
        return exardate;
    }

    public void setExardate(Date exardate) {
        this.exardate = exardate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ExpertActivityRecord other = (ExpertActivityRecord) that;
        return (this.getExarno() == null ? other.getExarno() == null : this.getExarno().equals(other.getExarno()))
            && (this.getEdno() == null ? other.getEdno() == null : this.getEdno().equals(other.getEdno()))
            && (this.getEno() == null ? other.getEno() == null : this.getEno().equals(other.getEno()))
            && (this.getExardate() == null ? other.getExardate() == null : this.getExardate().equals(other.getExardate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getExarno() == null) ? 0 : getExarno().hashCode());
        result = prime * result + ((getEdno() == null) ? 0 : getEdno().hashCode());
        result = prime * result + ((getEno() == null) ? 0 : getEno().hashCode());
        result = prime * result + ((getExardate() == null) ? 0 : getExardate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", exarno=").append(exarno);
        sb.append(", edno=").append(edno);
        sb.append(", eno=").append(eno);
        sb.append(", exardate=").append(exardate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}